import { request, METHOD } from '@/utils/request';

// 机队监控状态清除处理
export const fleetMonitorByStatusApi = (params) => {
  return request('/ftm/ftmEventLeg/fleetMonitorByStatus', METHOD.GET, params);
};

// FDE类型
export const eventListApi = (params) => {
  return request('/ftm/ftmEvent/getEventChildrenByFDE', METHOD.POST, params);
};

// 新增机队监控配置信息
export const saveFtmMonitorApi = (params) => {
  return request('/ftm/FtmMonitor/saveFtmMonitor', METHOD.POST, params);
};

// 机队监控
export const fleetMonitorApi = (params) => {
  return request('/ftm/ftmEventLeg/fleetMonitor', METHOD.POST, params);
};

// 机队监控全量信息
export const fleetMonitorAllApi = (params) => {
  return request('/ftm/ftmEventLeg/fleetMonitorAll', METHOD.POST, params);
};

// 获取用户机队监控配置信息
export const fleetMonitorConfigByUserApi = (params) => {
  return request('/ftm/ftmEventLeg/fleetMonitorConfigByUser', METHOD.GET, params);
};
